From: Nick Roberts Date: Sun, 20 May 2007 02:38:07 +0000 (+0000) Subject: * configure.in (AC_CHECK_HEADERS) Add gpm.h. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18811 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=01f916ef1162ad93ae631e618743aa78f1f710f6;p=emacs.git * configure.in (AC_CHECK_HEADERS) Add gpm.h. (AC_CHECK_LIB): Add -lgpm. --- diff --git a/configure.in b/configure.in index 4c64970fe0f..78876a4bed0 100644 --- a/configure.in +++ b/configure.in @@ -1630,7 +1630,7 @@ AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ - sys/utsname.h pwd.h) + sys/utsname.h pwd.h gpm.h) AC_MSG_CHECKING(if personality LINUX32 can be set) AC_TRY_COMPILE([#include ], [personality (PER_LINUX32)], @@ -2938,6 +2938,9 @@ if test "${REL_ALLOC}" = "yes" ; then buffer space.]) fi +AC_CHECK_LIB(gpm, Gpm_Open, LIBGPM=-lgpm) +AC_SUBST(LIBGPM) + AH_TOP([/* GNU Emacs site configuration template file. Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.